home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Speccy ClassiX 1998
/
Speccy ClassiX 98.iso
/
amiga_system
/
the_aminet
/
dev
/
gcc
/
ixemulsrc.lha
/
ixemul-41.4
/
gnulib-soft-float
/
mulsi3.c
< prev
next >
Wrap
C/C++ Source or Header
|
1994-08-19
|
204b
|
16 lines
#include "common.h"
SItype
__mulsi3 (a, b)
SItype a,b;
{
int neg = (a < 0) != (b < 0);
SItype res;
if (a < 0) a = -a;
if (b < 0) b = -b;
res = mulu (a,b);
return neg ? -res : res;
}